package com.offcn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.offcn.pojo.Permission;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author offcn
 * @since 2022-08-29
 */
public interface PermissionMapper extends BaseMapper<Permission> {


    /**
     * 根据用户id查询用户相关权限信息
     *
     * @param uid
     * @return
     */
    List<Permission> getPermissionByUid(Integer uid);
}
